package org.example.springioc.ioc;

public class iocStart {
    public static void main(String[] args) {
        iocTire ioctire = new iocTire(20);
        iocBottom iocbottom = new iocBottom(ioctire);
        iocFramework iocframework = new iocFramework(iocbottom);
        iocCar ioccar = new iocCar(iocframework);
    }
}
//这种方法在增加某个零件的时候不需要对所有类进行修改, 直接在类的内部进行修改即可
